package cc.rengu.redp.bizimpl.csmc.service;

import cc.rengu.redp.bizimpl.csmc.domain.CInstructionRule;
import cc.rengu.redp.common.domain.QueryRequest;
import cc.rengu.redp.common.exception.RedpException;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * @author lizk
 */
public interface ICInstructionRuleService extends IService<CInstructionRule> {

    Map<String, Object> findByPage(QueryRequest queryRequest, CInstructionRule instructionRule);

    void adminCInstructionRule(List<CInstructionRule> instructionRuleList, String optFlag) throws RedpException;

    IPage<CInstructionRule> cInstructionRuleDialog(QueryRequest queryRequest, CInstructionRule instructionRule);
}
